/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package cp2004;

/**
 *
 * @author NC10
 */




public class item {
     private String name;
    private String info;
    private int num;

     public String toString(){
    return"name"+name+".info"+info+".num"+num;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the info
     */
    public String getInfo() {
        return info;
    }

    /**
     * @param info the info to set
     */
    public void setInfo(String info) {
        this.info = info;
    }

    /**
     * @return the num
     */
    public int getNum() {
        return num;
    }

    /**
     * @param num the num to set
     */
    public void setNum(int num) {
        this.num = num;
    }
    
}
